package com.woniuxy.loanapprovals.mapper;


import com.woniuxy.entity.LoanApproval;

import java.util.List;


public interface LoanApprovalMapper {

    //添加审核
    void addApproval(LoanApproval loanApproval);

    //查询所有
    List<LoanApproval> selectAllLoanApproval();

    //根据id查
    LoanApproval selectLoanApprovalById(int id_loan);

    //根据id删除
    void deleteLoanApprovalById(int id_loan);

    //修改状态--审核通过
    void updateLoanApprovalById(LoanApproval loanApproval);

}
